package com.mf.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.mf.entity.Customer;
import com.mf.entity.Warehouse;
import com.mf.mapper.CustomerMapper;
import com.mf.mapper.WarehouseMapper;
import com.mf.service.IWarehouseService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author mf
 * @since 2024-04-26
 */
@Service
public class WarehouseServiceImpl extends ServiceImpl<WarehouseMapper, Warehouse> implements IWarehouseService {
    @Resource
    private WarehouseMapper warehouseMapper;

    @Resource
    private CustomerMapper customerMapper;

    @Override
    public List<Customer> findIsInventoryByCustom() {
        return warehouseMapper.findIsInventoryByCustom();

    }
}
